import 'dart:typed_data';

import 'package:fish_redux/fish_redux.dart';
import 'package:flutter/material.dart';

class MemberLoginState implements Cloneable<MemberLoginState> {
  bool isSmsLogin = true;
  String defaultUserName;

  @override
  MemberLoginState clone() {
    return MemberLoginState()
      ..isSmsLogin = isSmsLogin
      ..defaultUserName = defaultUserName;
  }
}

MemberLoginState initState(String userName) {
  return MemberLoginState()..defaultUserName = userName;
}
